package com.nc.delivery_project.server.service;

import com.nc.delivery_project.server.dao.NaturalPersonDao;
import com.nc.delivery_project.server.domain.NaturalPerson;

import java.sql.Connection;

/**
 * Created by miroshnik on 1/23/2015.
 */
public class NaturalPersonService extends PersonService<NaturalPerson> {
    
    public NaturalPersonService(NaturalPersonDao dao) {
        super(dao);
    }
    
    public NaturalPersonService() {
        this(new NaturalPersonDao());
    }

    public NaturalPersonService(Connection connection, boolean isAutoCloseConnection) {
        super(new NaturalPersonDao(), connection, isAutoCloseConnection);
    }
}
